﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="View_Hire_Equipment.aspx.cs"
    Inherits="CTEA_INDIA.View_Hire_Equipment" Theme="Default" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/MenuList.ascx" TagName="Menu" TagPrefix="m1" %>
<%@ Register Src="~/Header.ascx" TagName="header" TagPrefix="uc" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>View Hire Equipment</title>
    <link href="CSS/Stylsheet.css" rel="stylesheet" type="text/css" />
    <link href="CSS/MyStyle.css" rel="stylesheet" type="text/css" />
    </head>
<body>
    <form id="form1" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <div>
        <uc:header runat="server" ID="aa" />
    </div>
    <div class="toporagne">
        <%--<img src="Images/top_orange-strip.jpg" />--%>
        <hr size="10" color="#091247" width="900px" />
    </div>
    <div>
        <center>
            <div>
                <table width="900px" border="0">
                    <tr>
                        <td valign="top" align="center">
                            <table width="100%" border="0" class="MainDiv">
                                <tr>
                                    
                                    <td valign="top">
                                        <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upPnlCandidate">
                                            <ProgressTemplate>
                                                <center>
                                                    <div id="pageLoading">
                                                        <center>
                                                            <img src="Images/loading123.gif" style="z-index: 5000; top: 50%; left: 50%; position: absolute;"
                                                                alt="loading" />
                                                            <div style="color: White; font-size: 18px; top: 50%; left: 50%;">
                                                                Loading...
                                                            </div>
                                                        </center>
                                                        <div id="transparentBg" class="transparentBg">
                                                        </div>
                                                    </div>
                                                </center>
                                            </ProgressTemplate>
                                        </asp:UpdateProgress>
                                        <asp:UpdatePanel ID="upPnlCandidate" runat="server">
                                            <ContentTemplate>
                                                <table border="0" width="100%">
                                                    <tr>
                                                        <td class="myaccount">
                                                            <asp:Label ID="Label1" runat="server" Text="Hired Equipments" CssClass="headingpage"></asp:Label><br />
                                                            <div class="imgstrip">
                                                            </div>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="50px">
                                                            <div style="float: left">
                                                            </div>
                                                            <asp:Label ID="Label2" runat="server" Text="Search:" CssClass="Label"></asp:Label>
                                                            <asp:DropDownList ID="ddlSearchApplyFor" runat="server" Width="170px" AutoPostBack="true"
                                                                EnableViewState="true" >
                                                                <asp:ListItem Text="View all" Value="0" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text="Acting" Value="Acting">
                                                                </asp:ListItem>
                                                                <asp:ListItem Text="Dancing" Value="Dancing"></asp:ListItem>
                                                            </asp:DropDownList>
                                                            <asp:TextBox ID="txtName" runat="server" AutoPostBack="True"></asp:TextBox>
                                                            <asp:TextBoxWatermarkExtender ID="txtName_TextBoxWatermarkExtender" WatermarkText="Enter Name to Search"
                                                                WatermarkCssClass="Watermarktxt" runat="server" TargetControlID="txtName">
                                                            </asp:TextBoxWatermarkExtender>
                                                            <asp:Button ID="btnSearch" runat="server" Text="Search" CssClass="btnsubmit" 
                                                                onclick="btnSearch_Click" />
                                                            <br />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td valign="top" width="500px" align="center">
                                                            <asp:GridView ID="gdHireEquipment" runat="server" BackColor="White" Width="100%"
                                                                BorderColor="#DEDFDE" DataKeyNames="HireId" BorderStyle="None" BorderWidth="1px"
                                                                CellPadding="4" ForeColor="Black" GridLines="Vertical" AllowPaging="True" AutoGenerateColumns="False"
                                                                OnRowDataBound="gdHireEquipment_RowDataBound" EmptyDataText="No data found." 
                                                                onpageindexchanging="gdHireEquipment_PageIndexChanging">
                                                                <AlternatingRowStyle BackColor="White" />
                                                                <Columns>
                                                                    <asp:BoundField HeaderText="Company Name" DataField="Company_Name" ItemStyle-Width="120px">
                                                                        <ItemStyle Width="200px" />
                                                                    </asp:BoundField>
                                                                    <asp:BoundField HeaderText="Authority Name" DataField="Authority_Name" ItemStyle-Width="200">
                                                                        <ItemStyle Width="200px" />
                                                                    </asp:BoundField>
                                                                    <asp:BoundField HeaderText="Location" DataField="Equipment_Location" ItemStyle-Width="80">
                                                                        <ItemStyle Width="80px" />
                                                                    </asp:BoundField>
                                                                    <asp:TemplateField>
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="lnkView" runat="server" Text="View" ForeColor="#0066FF" ItemStyle-Width="10"
                                                                           OnClick="lnkView_Click"       CausesValidation="false"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField>
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="lnkEdit" runat="server" Text="Edit" ForeColor="#0066FF" ItemStyle-Width="10"
                                                                                CausesValidation="false"></asp:LinkButton>
                                                                            <asp:LinkButton ID="lnkHidden" runat="server" ForeColor="#0066FF"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField>
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="lnkDelete" runat="server" Text="Delete" ForeColor="#0066FF" ItemStyle-Width="10"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <EmptyDataRowStyle CssClass="errorSpan" Font-Bold="True" Font-Size="15pt" ForeColor="Red" />
                                                                <FooterStyle BackColor="#CCCC99" />
                                                                <HeaderStyle BackColor="#021D48" Font-Bold="True" ForeColor="white" />
                                                                <PagerStyle ForeColor="#CCCCCC" HorizontalAlign="right" BackColor="#843808" />
                                                                <SelectedRowStyle BackColor="#000099" ForeColor="White" Font-Bold="True" />
                                                                <AlternatingRowStyle BackColor="#C9DDFD" />
                                                            </asp:GridView>

                                                            <!--modal view !-->
                                                            <asp:Button ID="btnHiddenPerson" runat="Server" Style="display: none" />
                                                            <asp:ModalPopupExtender ID="lnkView_ModalPopupExtender" runat="server" TargetControlID="btnHiddenPerson"
                                                                CancelControlID="cancelBtnView" PopupControlID="pnlLnkView" BackgroundCssClass="modalBackground">
                                                            </asp:ModalPopupExtender>
                                                            <asp:Panel ID="pnlLnkView" runat="server">
                                                                <table width="600px" class="ModalPopup" border="0" cellpadding="3" cellspacing="2"
                                                                    style="margin-left: 50px">
                                                                    <tr>
                                                                        <td colspan="4">
                                                                            <div style="float: right">
                                                                                <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnView" /></div>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td colspan="4" class="gdheadingNew">
                                                                            Hire Equipment Detail
                                                                            <hr />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style=" width : 120px ;" class="tdheader modalCandidate">
                                                                            Company Name:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblCompanyName" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                    <tr id="trAdd" runat="server">
                                                                        <td class="tdheader modalCandidate">
                                                                            Authority Name:
                                                                        </td>
                                                                        <td class="modalCandidate">
                                                                            <asp:Label ID="lblAuthorityName" runat="server"></asp:Label>
                                                                        </td>
                                                                    </tr>
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Address:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblAddress" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Titel of Production:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblTitleOfProduction" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Language Of Production:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblLanguageOfProduction" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Mode of Transportation:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblmot" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                    
                                                                    <tr id="trMobEmail" runat="server">
                                                                        <td class="tdheader modalCandidate">
                                                                            Location:
                                                                        </td>
                                                                        <td class="modalCandidate">
                                                                            <asp:Label ID="lblLocation" runat="server"></asp:Label>
                                                                        </td>

                                                                    </tr>   
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Period of Production:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblPop" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Start Date:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblStrDate" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            End Date:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblEndDate" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Total Days:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblTotalDays" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Delivery Time:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblDelTime" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Receive Time:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblRecTime" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Hire of Equipment:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblHoe" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                     <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Payment Mode:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblPayMode" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr> <tr>
                                                                        <td class="tdheader modalCandidate">
                                                                            Balance:
                                                                        </td>
                                                                        <td width="150px" class="modalCandidate ">
                                                                            <asp:Label ID="lblBalance" runat="server"></asp:Label>
                                                                        </td>
                                                                       
                                                                    </tr>
                                                                                                                                                                                                                                                                         
                                                                </table>
                                                            </asp:Panel>
                                                      
                                                        </td>
                                                    </tr>
                                                </table>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </center>
    </div>
    <div>
    </div>
    </form>
</body>
</html>
